package com.platform.comm.common.batch.listener.exportor;

import lombok.extern.slf4j.Slf4j;
import org.springframework.batch.core.ItemReadListener;

import java.util.HashMap;

/**
 * @author coder
 */
@Slf4j
public class ExportItemReaderListener implements ItemReadListener<HashMap> {


    @Override
    public void beforeRead() {

    }

    @Override
    public void afterRead(HashMap item) {
        log.info("read size: {}", item);
    }

    @Override
    public void onReadError(Exception ex) {

    }
}
